﻿


using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model {


	public class Product_Product {

        /// <summary>
        ///  产品id
        /// </summary>
        [Property("Key")]
		public int? Id {
			get;
			set;
		}

        /// <summary>
        ///  
        /// </summary>
		public int? ViewDel {
			get;
			set;
		}

        /// <summary>
        ///  公司id
        /// </summary>
		public int? EnterpriseId {
			get;
			set;
		}

        /// <summary>
        ///  状态0上架1下架2删除
        /// </summary>
		public int? SaleStatus {
			get;
			set;
		}

        /// <summary>
        ///  分类id
        /// </summary>
		public int? ClassifyId {
			get;
			set;
		}

        /// <summary>
        ///  
        /// </summary>
		public int? TempletId {
			get;
			set;
		}

        /// <summary>
        ///  商品类型编号
        /// </summary>
		public int? TypeId {
			get;
			set;
		}

        /// <summary>
        ///  产品名称
        /// </summary>
		public string ProductName {
			get;
			set;
		}

        /// <summary>
        ///  排序
        /// </summary>
		public int? Sequence {
			get;
			set;
		}

        /// <summary>
        ///  商品简介
        /// </summary>
		public string ShortDescription {
			get;
			set;
		}

        /// <summary>
        ///  图片1
        /// </summary>
		public string ImageUrl1 {
			get;
			set;
		}

        /// <summary>
        ///  图片2
        /// </summary>
		public string ImageUrl2 {
			get;
			set;
		}

        /// <summary>
        ///  图片3
        /// </summary>
		public string ImageUrl3 {
			get;
			set;
		}

        /// <summary>
        ///  图片4
        /// </summary>
		public string ImageUrl4 {
			get;
			set;
		}

        /// <summary>
        ///  图片5
        /// </summary>
		public string ImageUrl5 {
			get;
			set;
		}

        /// <summary>
        ///  商品属性值
        /// </summary>
		public string AttributeValueId {
			get;
			set;
		}

        /// <summary>
        ///  市场价原价
        /// </summary>
		public decimal MarketPrice {
			get;
			set;
		}

        /// <summary>
        ///  现价
        /// </summary>
		public decimal PresentPrice {
			get;
			set;
		}

        /// <summary>
        ///  总库存
        /// </summary>
		public int? TotalInventory {
			get;
			set;
		}

        /// <summary>
        ///  产品编码
        /// </summary>
		public string ProductCode {
			get;
			set;
		}

        /// <summary>
        ///  商品访问次数
        /// </summary>
		public int? VistiCounts {
			get;
			set;
		}

        /// <summary>
        ///  商品销售数量
        /// </summary>
		public int? SaleCounts {
			get;
			set;
		}

        /// <summary>
        ///  前台商品销售数量
        /// </summary>
		public int? ShowSaleCounts {
			get;
			set;
		}

        /// <summary>
        ///  商品体积用于物流模版计算运费
        /// </summary>
		public decimal CubicMeter {
			get;
			set;
		}

        /// <summary>
        ///  商品重量Kg用于物流模版计算运费
        /// </summary>
		public decimal FreightWeight {
			get;
			set;
		}

        /// <summary>
        ///  运费价格
        /// </summary>
		public decimal FreightPrice {
			get;
			set;
		}

        /// <summary>
        ///  Pc产品说明
        /// </summary>
		public string PcDescription {
			get;
			set;
		}

        /// <summary>
        ///  移动产品说明
        /// </summary>
		public string MobileDescription {
			get;
			set;
		}

        /// <summary>
        ///  淘宝商品编号
        /// </summary>
		public string TaobaoProductId {
			get;
			set;
		}

        /// <summary>
        ///  商品来源是自己上架的商品还是淘宝店或其他店同步过来的
        /// </summary>
		public string Source {
			get;
			set;
		}

        /// <summary>
        ///  创建登录id
        /// </summary>
        public int? CreateLoginID { get; set; }

        /// <summary>
        ///  创建登录名
        /// </summary>
        public string CreateLoginName { get; set; }

        /// <summary>
        ///  创建时间
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        ///  修改登录id
        /// </summary>
		public int? ChangeLoginID {
			get;
			set;
		}

        /// <summary>
        ///  修改登录名
        /// </summary>
		public string ChangeLoginName {
			get;
			set;
		}

        /// <summary>
        ///  修改时间
        /// </summary>
		public System.DateTime ChangeDate {
			get;
			set;
		}

        /// <summary>
        ///  淘宝链接
        /// </summary>
		public string TaoBaoUrl {
			get;
			set;
		}

        /// <summary>
        ///  微信链接
        /// </summary>
		public string WXUrl {
			get;
			set;
		}

        ///// <summary>
        /////  上市时间
        ///// </summary>
        //public DateTime? TimeToMarket {
        //    get;
        //    set;
        //}

        /// <summary>
        ///  产品认证
        /// </summary>
		public string Approve {
			get;
			set;
		}

        /// <summary>
        ///  体质体系
        /// </summary>
		public string Constitution {
			get;
			set;
		}

        /// <summary>
        ///  副标题
        /// </summary>
		public string Subheading {
			get;
			set;
		}

        /// <summary>
        ///  保质期
        /// </summary>
		public  string ExpirationDate {
			get;
			set;
		}

        ///// <summary>
        /////  生产日期
        ///// </summary>
        //public DateTime? ProductionDate { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string EnterpriseName
        {
            get;
            set;
        }

        public string TypeName
        {
            get;
            set;
        }
		public string BatchName {
			get;
			set;
		}

        public string CustomInfo
        {
            get;
            set;
        }



        [NotMapped]
        public int ProductBatchId { get; set; }
    }

    }














